import Teacher from './teacher.vue'
import teacherAdd from './teacherAdd.vue'
import teacherSearch from './teacherSearch.vue'
import teacherView from './teacherView.vue'

const components = [
    Teacher,
    teacherAdd,
    teacherSearch,
    teacherView
]

const main = {
    install(Vue) {
        components.map((component) => {
            Vue.component(component.name, component)
        })
    }
}

export default main